<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="/WEB-INF/struts-bean" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html" prefix="html"%>	
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<link rel="stylesheet" type="text/css"	href="../../styles/objectsStyles.css">
<script type="text/javascript">
function accion(){
	document.forms[0].method.value='init';	
	document.forms[0].submit(); 
}
</script>
<body>
<html:form action="login.do" >
 <input type="hidden" name="method"/>
 <center>
   <table>
          <tr>
          <td>
            <bean:message   key="label.login.user"/>
          </td>
          <td>
             <html:text property="user" 	styleClass="text-field" style="width: 100px;" />
          </td>
         </tr>
         <tr>
          <td>
            <bean:message   key="label.login.password"/>
          </td>
          <td>
             <html:password property="password" 	styleClass="text-field" style="width: 100px;" />
          </td>
         </tr>
         <tr>
          <td>
            <input class="button" type="Button" 
				   value="<bean:message   key="button.label.submit"/>"
			       onClick="javascript:accion()">
          </td>
          <td>
          </td>
         </tr>
    </table>
    </center>
    </html:form>
</body>
</html>